<table class="list" width="100%" cellpadding="5">
	<tr>
		<th>Item</th>
		<th></th>
	</tr>

	<?php foreach($items as $item) :?>
	<?php $bg = ($i++ % 2 == 0)? 'row1' : 'row0'; ?>
	<tr class="<?php echo $bg; ?>">
		<td><b><?php echo $item['nome']; ?></b></td>
		<td>
			<?php if($item['status'] == 0) : ?>
			<a href="<?php echo BASE ?>chapanela/verItem/id_item/<?php echo $item['id'] ?>" id="presentear">
				<img src="<?php echo IMAGES ?>presente.gif" alt="Presentear" title="Presentear" />
			</a>
			<?php else : ?>
			<span style="color: green;">Já foi presenteado!</span>
			<?php endif; ?>
		</td>
	</tr>
	<?php endforeach; ?>
</table>